﻿namespace Jim.OA;

/// <summary>
/// 获取代办流程列表
/// </summary>
[Sdk("/api/workflow/paService/getToDoRequestList", Description = "获取代办流程列表")]
public class OAGetToDoByTabIdRequestListInput : OAGetRequestListInput
{

    /// <summary>
    /// 要查询的范围 如: 0 全部待办 ， 1 未读 ， 多个tabid之间使用 ‘，’ 分隔。 不传默认为0
    /// </summary>
    public string TabIds { get; set; }

    public override SdkDictionary Dic()
    {
        var dic = base.Dic();
        if (!string.IsNullOrEmpty(TabIds)) dic.Add("tabIds", TabIds);
        return dic;
    }
}

/// <summary>
/// 获取已办流程列表
/// </summary>
[Sdk("/api/workflow/paService/getHandledWorkflowRequestList", Description = "获取已办流程列表")]
public class OAGetHandledRequesListInput : OAGetRequestListInput { }

/// <summary>
/// 获取办结流程列表
/// </summary>
[Sdk("/api/workflow/paService/getProcessedWorkflowRequestList", Description = "获取办结流程列表")]
public class OAGetProcessedRequesListInput : OAGetRequestListInput { }


/// <summary>
/// 获取所有发起列表
/// </summary>
[Sdk("/api/workflow/paService/getMyWorkflowRequestList", Description = "获取所有发起列表")]
public class OAGetMyRequesListInput : OAGetRequestListInput { }

/// <summary>
/// 获取待办中退回的流程数据列表
/// </summary>
[Sdk("/api/workflow/paService/getBeRejectWorkflowRequestList", Description = "获取待办中退回的流程数据列表")]
public class OAGetBeRejectRequestListInput: OAGetRequestListInput{}

/// <summary>
/// 获取待办中抄送的流程数据列表
/// </summary>
[Sdk("/api/workflow/paService/getCCWorkflowRequestList", Description = "获取待办中抄送的流程数据列表")]
public class OAGetCCRequestListInput : OAGetRequestListInput { }


/// <summary>
/// 获取待处理的流程数据列表
/// </summary>
[Sdk("/api/workflow/paService/getDoingWorkflowRequestList", Description = "获取待处理的流程数据列表")]
public class OAGetDoingRequestListInput : OAGetRequestListInput { }


/// <summary>
/// 获取转发流程数据列表(只统计还在待办的)
/// </summary>
[Sdk("/api/workflow/paService/getForwardWorkflowRequestList", Description = "获取转发流程数据列表(只统计还在待办的)")]
public class OAGetForwardRequestList : OAGetRequestListInput { }

/// <summary>
/// 获取待阅流程数据列表
/// </summary>
[Sdk("/api/workflow/paService/getToBeReadWorkflowRequestList", Description = "获取待阅流程数据列表")]
public class OAGetToBeReadRequestList : OAGetRequestListInput { }

/// <summary>
/// 获取待办流程数据列表
/// </summary>
[Sdk("/api/workflow/paService/getToDoWorkflowRequestList", Description = "获取待办流程数据列表")]
public class OAGetToDoRequestList : OAGetRequestListInput { }


/// <summary>
/// 获取待办流程数据列表
/// </summary>
[Sdk("/api/workflow/paService/getAllWorkflowRequestList", Description = "获取待办流程数据列表")]
public class OAGetAllRequestList : OAGetRequestListInput { }